package com.sls.mall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sls.mall.common.utils.PageUtils;
import com.sls.mall.product.entity.AttrGroupEntity;
import com.sls.mall.product.vo.AttrGroupWithAttrsVO;
import com.sls.mall.product.vo.SkuItemVO;
import com.sls.mall.product.vo.SpuItemAttrGroupVO;

import java.util.List;
import java.util.Map;

/**
 * 属性分组
 *
 * @author tg
 * @email tg@gmail.com
 * @date 2021-04-24 16:14:45
 */
public interface AttrGroupService extends IService<AttrGroupEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageUtils queryPage(Map<String, Object> params, Long catelogId);

    List<AttrGroupWithAttrsVO> getAttrGroupWithAttrsByCatelogId(Long catelogId);

    List<SpuItemAttrGroupVO> getAttrGroupWithAttrsBySpuId(Long spuId, Long catalogId);
}

